<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>



<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>管理员列表</legend>
</fieldset>
<div class="layui-row">
    <div class="layui-col-xs3">
        <div class="grid-demo grid-demo-bg1">
            <a href="{:url('addManager')}" class="layui-btn layui-btn-sm">增加管理员</a>
        </div>
    </div>
    <div class="layui-col-xs3">
        <div class="grid-demo">3/12</div>
    </div>
    <div class="layui-col-xs3">
        <div class="grid-demo grid-demo-bg1">3/12</div>
    </div>
    <div class="layui-col-xs3">
        <div class="grid-demo">3/12</div>
    </div>
</div>

<div class="layui-form">
    <table class="layui-table">
        <colgroup>
            <col width="50">
            <col width="400">
            <col width="50">
            <col>
        </colgroup>


        <thead>
        <tr>
            <th>ID</th>
            <th>用户名</th>
            <th>删除</th>
        </tr>
        </thead>
        <tbody>


        {volist name="list" id="vo"}
        <tr>
            <td>{$vo.id}</td>
            <td><a href="{:url('managerUp',['id'=>$vo.id])}">{$vo.username}</a></td>
            <td><a href="{:url('managerDel',['id'=>$vo.id])}">删除</a></td>
        </tr>
        {/volist}
        </tbody>
    </table>
</div>


</body>
</html>